package com.gcloud.boot.test.mq;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

//@Component
public class HelloReceiver {
	//@RabbitListener(queues = "${service.controller}")
    //@RabbitHandler
    //public User process(User user) {
      //  System.out.println("Receiver  : " + user);
      //  return user;
    //}
    
    /*
    @RabbitHandler
    public void process(String user) {
        System.out.println("Receiver  : " + user);
        //return new User();
    }
 	*/
}